package cn.ztydata.teachingsystem.heaven.entity;

import java.sql.Timestamp;

/**
 * 附件实体类
 */
public class Attachment extends BaseEntity {
    private Long id; //ID
    private String mediaType;//媒体类型
    private Integer size = 0;//资源大小
    private Timestamp uploadTime; //上传时间
    private String fileName;//附件名称
    private String downloadUrl; //下载地址
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Timestamp getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Timestamp uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getMediaType() {
        return mediaType;
    }

    public void setMediaType(String mediaType) {
        this.mediaType = mediaType;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }
}
